/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cxt.Util;

import java.sql.*;
/**
 *
 * @author jgutierrez
 */
public class ConexionSQL {
    
    public static Connection obtenerConexion() {
        
        Connection con = null;
        
        String UrlConexion = "jdbc:sqlserver://190.81.168.254;" + 
                            "databaseName=DBCXT;user=sisam;password=sisam$1";
        try {
            con = DriverManager.getConnection(UrlConexion);
        } catch (SQLException ex) {
            ex.printStackTrace();
        }

        return con;
        
    }
    
}
